package controller

import (
	"context"
	"lot_admin_api/api"
	"lot_admin_api/internal/model"
	"lot_admin_api/internal/service"
)

var RechargeRecord = cRechargeRecord{}

type cRechargeRecord struct{}

// RechargeRecordList 获取充值/赠送金额记录列表
func (h *cRechargeRecord) RechargeRecordList(ctx context.Context, req *api.RechargeReceiveListReq) (res *model.RechargeRecordListPageRes, err error) {
	res, _ = service.RechargeRecord().RechargeRecordList(ctx, req.SearchRechargeRecordList)
	return res, err
}
